﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<string>" %>
<div id="step-holder">
    <div class="<%=JLL.China.Web.Libraries.HelperUtility.ReturnStringByStep("Step1")%>">
        1</div>
    <div class="step-<%=(HttpContext.Current.Request.Url.AbsolutePath.IndexOf("Step1") > 0) ? "dark" : "light"%>-left">
        <%=(this.Model!=null)?("<a href='"+Url.Content("~/")+ViewData["now_controller"]+"Step1/"+this.Model.ToString()+ "' >"):""%>
        Project Info
        <%=(this.Model!=null)?"</a>":""%>
    </div>
    <div class="step-<%=(HttpContext.Current.Request.Url.AbsolutePath.IndexOf("Step1") > 0) ? "dark" : "light"%>-right">
        &nbsp;</div>
    <div class="<%=JLL.China.Web.Libraries.HelperUtility.ReturnStringByStep("Step2")%>">
        2</div>
    <div class="step-<%=(HttpContext.Current.Request.Url.AbsolutePath.IndexOf("Step2") > 0) ? "dark" : "light"%>-left">
        <%=(this.Model!=null)?("<a href='"+Url.Content("~/")+ViewData["now_controller"]+"Step2/"+this.Model.ToString()+ "' >"):""%>
        Project Detail
        <%=(this.Model!=null)?"</a>":""%></div>
    <div class="step-<%=(HttpContext.Current.Request.Url.AbsolutePath.IndexOf("Step2") > 0) ? "dark" : "light"%>-right">
        &nbsp;</div>
          <div class="<%=JLL.China.Web.Libraries.HelperUtility.ReturnStringByStep("Step3")%>">
        3</div>
    <div class="step-<%=(HttpContext.Current.Request.Url.AbsolutePath.IndexOf("Step3") > 0) ? "dark" : "light"%>-left">
        <%=(this.Model!=null)?("<a href='"+Url.Content("~/")+ViewData["now_controller"]+"Step3/"+this.Model.ToString()+ "' >"):""%>
        Features & Facilities
        <%=(this.Model!=null)?"</a>":""%></div>
         
        <div class="step-<%=(HttpContext.Current.Request.Url.AbsolutePath.IndexOf("Step3") > 0) ? "dark" : "light"%>-right">
        &nbsp;</div>
         <!--END-->
          <div class="<%=JLL.China.Web.Libraries.HelperUtility.ReturnStringByStep("Step4")%>">
        4</div>
    <div class="step-<%=(HttpContext.Current.Request.Url.AbsolutePath.IndexOf("Step4") > 0) ? "dark" : "light"%>-left">
        <%=(this.Model!=null)?("<a href='"+Url.Content("~/")+ViewData["now_controller"]+"Step4/"+this.Model.ToString()+ "' >"):""%>
        Map
        <%=(this.Model!=null)?"</a>":""%></div>
   
        <div class="step-<%=(HttpContext.Current.Request.Url.AbsolutePath.IndexOf("Step4") > 0) ? "dark" : "light"%>-right">
        &nbsp;</div>
        
        <!-- END -->
          <div class="<%=JLL.China.Web.Libraries.HelperUtility.ReturnStringByStep("Step5")%>">
        5</div>
    <div class="step-<%=(HttpContext.Current.Request.Url.AbsolutePath.IndexOf("Step5") > 0) ? "dark" : "light"%>-left">
        <%=(this.Model!=null)?("<a href='"+Url.Content("~/")+ViewData["now_controller"]+"Step5/"+this.Model.ToString()+ "' >"):""%>
        Media
        <%=(this.Model!=null)?"</a>":""%></div>
    <div class="step-<%=(HttpContext.Current.Request.Url.AbsolutePath.IndexOf("Step5") > 0) ? "dark" : "light"%>-right">
        &nbsp;</div>
        <!-- END -->
    <div class="<%=JLL.China.Web.Libraries.HelperUtility.ReturnStringByStep("Step6")%>">
       6</div>
    <div class="step-<%=(HttpContext.Current.Request.Url.AbsolutePath.IndexOf("Step6") > 0) ? "dark" : "light"%>-left">
        <%=(this.Model!=null)?("<a href='"+Url.Content("~/")+ViewData["now_controller"]+"Step6/"+this.Model.ToString()+ "' >"):""%>
        Floor plan
        <%=(this.Model!=null)?"</a>":""%></div>
    <div class="step-<%=(HttpContext.Current.Request.Url.AbsolutePath.IndexOf("Step6") > 0) ? "dark" : "light"%>-round">
        &nbsp;</div>
        <% if (this.Model != null)
           { %>
      <div class="controll_item">
        <ul>
        <%  if (ViewData["StatusID"].ToString() != "1")
            { %>
            <li><a  class="icons icon-ok-sign"></a> <a href="<%=Url.Content("~/") + ViewData["now_controller"] + "Active/" + this.Model.ToString()%>"> Active Listing</a></li>
            <%} %>
             <%  if (ViewData["StatusID"].ToString() != "2")
                 { %>
            <li><a  class="icons icon-ban-circle"></a> <a href="<%=Url.Content("~/") + ViewData["now_controller"] + "Draft/" + this.Model.ToString()%>"> Draft Listing</a></li>
            <%} %>
             <%  if (ViewData["StatusID"].ToString() != "3")
                 { %>
            <li><a  class="icons icon-trash "> <a class="remove-btn" href="<%=Url.Content("~/") + ViewData["now_controller"] + "Delete/" + this.Model.ToString()%>"> Delete Listing</a></li>
            <%} %>
        </ul>
      </div>
      <%} %>
    <div class="clear">
    </div>
</div>
